package com.cdp.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdp.common.core.domain.entity.ChartRecord;
import com.cdp.system.mapper.ChartRecordMapper;
import com.cdp.system.service.IChartRecordService;
import com.cdp.system.vo.ChartRecordVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ChartRecordServiceImpl  extends ServiceImpl<ChartRecordMapper, ChartRecord> implements IChartRecordService {

    @Autowired
    private ChartRecordMapper chartRecordMapper;


    @Override
    public List<ChartRecordVO> queryRecordById(Long id) {
        List<ChartRecordVO>chartRecordVOS=   chartRecordMapper.queryRecordById(id);

        return chartRecordVOS;
    }
}
